<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>搜索医生</title>
    <link href="{{asset('css/common.css')}}" rel="stylesheet" type="text/css" />
    <link href="{{asset('css/search%20doctor.css')}}" rel="stylesheet" type="text/css"/>
    <script src="{{asset('ExternalJs/jquery-2.2.4.min.js')}}"></script>
    @include('public.common')
    <script src="{{asset('js/conmon.js')}}"></script>
</head>
<body>
<header>
    <form action="" onsubmit="return check()">
        <input type="search" placeholder="搜索医生"/>
    </form>
    <p>取消</p>
</header>
<section class="total"  id="center" >
    <p>热门搜索</p>
    <section class="center"v-for="item in items">
        <section><a href="#">@{{item.name}}</a><span>@{{item.d_id}}</span></section>
    </section>
</section>
<section class="header">
    <p class="head">医生</p>
</section>
<section id="mainPart" v-for="item in items" >
    <section class="docListMember">
        <img v-if="item.nic_thumb != ''" v-bind:src="item.nic_thumb">
        <img v-if="item.nic_thumb ==''" src="{{asset('images/userDefault.png')}}">
        <section class="rightPart">
            <p>
                <span>@{{item.name}}</span><span>@{{item.zhiwu}}</span>
            </p>
            <p>
                <span>@{{item.hospital_name}}</span>
                <span>@{{item.keshi}}</span>
            </p>
            <p><img src="{{asset('images/star.png')}}"><span>@{{item.score}}</span><span>接诊量: @{{item.response_times}}</span></p>
            <p>@{{item.shan_chang}}</p>
            <p class="id">@{{item.d_id}}</p>
        </section>
    </section>
</section>
<script>
    function check(){
        return false;//阻止表单提交
        //return true;允许表单提交
    }
</script>
<script src="{{asset('ExternalJs/vue.js')}}"></script>
<script src="{{asset('js/searchDoctor.js')}}"></script>
</body>
</html>